home *** CD-ROM | disk | FTP | other *** search
- Path: news.nask.org.pl!usenet
- From: flssoft@blue.maloka.waw.pl (Grzegorz (FLS))
- Newsgroups: comp.lang.c++
- Subject: Re: What's the easiest way to do this?
- Date: Fri, 29 Mar 1996 18:43:04 GMT
- Organization: Research and Academic Computer Network
- Message-ID: <4jhaqs$hai@bilbo.nask.org.pl>
- References: <4j9j5s$oou@news1.warwick.net>
- NNTP-Posting-Host: s111.maloka.waw.pl
- X-Newsreader: Forte Free Agent v0.46
-
- vidman@warwick.net (Young C++ programmer will thank profusely) wrote:
-
- >Can someone tell me the easiest way to read scan a text file for
- >endline chars using ifstream.
-
- Use <getline()> to get text, <gcount()> to check the number of bytes
- read, and <eof()> to test the end of input.
-
-
-
-
-
-
-